package com.cp.core.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author ming
 * @create 2022/8/2
 * @description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserInfoVo对象", description="用户登录后的信息")
public class UserInfoVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "1：出借人 2：借款人")
    private Integer userType;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "头像")
    private String headImg;

    @ApiModelProperty(value = "JWT访问令牌")
    private String token;



}
